RemoteHardwarePinType

enum RemoteHardwarePinType : ProtocolMessageEnum

Protobuf enum meshtastic.RemoteHardwarePinType

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

GPIO pin can be read (if it is high / low)
DIGITAL_READ = 1;
Link copied to clipboard

GPIO pin can be written to (high / low)
DIGITAL_WRITE = 2;
Link copied to clipboard

Unset/unused
UNKNOWN = 0;

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): ModuleConfigProtos.RemoteHardwarePinType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.